import Router from "koa-router";
import { sendEmail, validateRequestParams } from "@/middleware/email.middleware";

const emailRouter = new Router({ prefix: "/api/email" });

emailRouter.post("/", validateRequestParams, sendEmail);

export default emailRouter;
